package cn.xuan.job.Detail;

import org.quartz.Job;
import org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean;

public class JobDetailFactoryBean extends MethodInvokingJobDetailFactoryBean {
	private Job job;

	public Job getJob() {
		return job;
	}

	public void setJob(Job job) {
		this.job = job;
		super.setTargetObject(job);
		super.setTargetMethod("execute");
	}
	
}
